package org.KeyCrafter.cmd;

import org.KeyCrafter.server.session.ClientSession;

@CmdSet
public interface ZSetCommand {
    @CmdInfo(name = "zadd", arity = -4, sflags = "wm", firstKey = 1, lastKey = 1, keyStep = 1)
    void zaddCommand(ClientSession c);
    @CmdInfo(name = "zincrby", arity = 4, sflags = "wm", firstKey = 1, lastKey = 1, keyStep = 1)
    void zincrbyCommand(ClientSession c);
    @CmdInfo(name = "zrange", arity = -4, sflags = "r", firstKey = 1, lastKey = 1, keyStep = 1)
    void zrangeCommand(ClientSession c);
    @CmdInfo(name = "zrevrange", arity = -4, sflags = "r", firstKey = 1, lastKey = 1, keyStep = 1)
    void zrevrangeCommand(ClientSession c);
}
